CC = g++
GDB = gdb
TARGET_FORDER := BIN
TARGET := $(TARGET_FORDER)\LibraryManage.exe

INC_FOLDERS = -IINC -ILIB
SRC_FILES := $(wildcard SRC/*.cpp) 

CC := $(CC) $(INC_FOLDERS) -g

.PHONY : clean run debug

$(TARGET) : $(SRC_FILES)
	$(CC) $(SRC_FILES) -o $@  

clean : $(TARGET)
	del $(TARGET)

run : $(TARGET)
	$(TARGET)

debug : $(TARGET)
	$(GDB) $(TARGET)